package com.ysp;

/**
 * @author ysp
 * @date 2021/1/11 10:02
 */
public class LogProxy implements Move{

    private Move move = null;

    public LogProxy(Move move) {
        this.move = move;
    }

    @Override
    public void move() {
        System.out.println("开始日志代理");
        move.move();
        System.out.println("结束日志代理");
    }
}
